﻿using Shop.RemoteModel.AttrTemplate.Model;

namespace Shop.Service.Interface
{
    public interface IAttrTemplateService
    {
        long Add (AttrTemplateAdd add);
        void Delete (long id);
        void Enable (long id);
        AttrTemplate Get (long id);
        AttrTemplateTree[] GetTrees (long categoryId, bool? isEnable);
        Dictionary<long, int> SetSort (long id, int sort);
        void Stop (long id);
        bool Update (long id, AttrTemplateSet set);
    }
}